<html xmlns:th="http://www.thymeleaf.org">
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>aa</title>
    <style>
        h1{
            text-align: center;
            color: cornflowerblue;
        }
        textarea{
            width: 100%;
            height: 300px;
            border: 2px solid red ;
        }
    </style>
</head>
<body>
    <h1>生成结果</h1>

    <label>
    <textarea th:text="${sql}">

    <!--    <span th:text="${sql}"></span><br/>-->
    </textarea>
    </label>

</body>
</html>